﻿using System;
using System.Net;
using System.ComponentModel;

namespace FbHelperWP7NonUi.BookStorage.DropBoxStorage.AsyncHelpClasses
{
    internal sealed class GetDirectoryEntryData : AbstractAsyncData
    {
        private readonly string baseDirectory;
        private readonly AsyncRequestCompleted<GetDirectoryEntryResult> callback;

        public GetDirectoryEntryData( BackgroundWorker worker, string baseDirectory, AsyncRequestCompleted<GetDirectoryEntryResult> callback )
            : base( worker )
        {
            this.baseDirectory = baseDirectory;
            this.callback = callback;
        }

        public string BaseDirectory
        {
            get
            {
                return baseDirectory;
            }
        }

        public AsyncRequestCompleted<GetDirectoryEntryResult> Callback
        {
            get
            {
                return callback;
            }
        }
    }
}
